package com.love.cloud.admin.api.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author hongdongqu
 */
@Data
@ApiModel("通知消息消息执行阅读vo")
public class MessageHandleReadVo {
    /**
     * 全部执行
     */
    public interface AllHandle{

    }

    /**
     * 通过id来执行
     */
    public interface Handle{

    }

    @NotEmpty(groups = {Handle.class},message = "不能为空")
    @ApiModelProperty(value = "消息id，多个中间用逗号隔开")
    private String id;


    @NotEmpty(groups = {AllHandle.class},message = "关键字内容不能为空")
    @ApiModelProperty(value = "关键字内容")
    private String keyValue;

    @NotEmpty(groups = {AllHandle.class},message = "关键字类型不能为空")
    @ApiModelProperty(value = "关键字类型")
    private String keyType;
}
